xen: arm: handle variable p2m levels in apply_p2m_changes
authorIan Campbell <ian.campbell@citrix.com>
Thu, 18 Sep 2014 00:09:53 +0000 (01:09 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 22 Sep 2014 15:44:55 +0000 (16:44 +0100)
commit82985d75968d3cde645a283adab902c7a096dc79
tree3f4c37b8508379715fe25b771a8f7ce9191b7cb6
parent58f0fd88225a3ff1b87d54316a40a9a5f7c6af57
xen: arm: handle variable p2m levels in apply_p2m_changes

As with previous changes this involves conversion from a linear series of
lookups into a loop over the levels.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Arianna Avanzini <avanzini.arianna@gmail.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/p2m.c